<?php
/** @var TblUsuarioController $this */
/** @var TblUsuario $data */
?>
<div class="view">
                    
        <?php if (!empty($data->idTpusu->des_tpusu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('id_tpusu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->idTpusu->des_tpusu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->ced_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('ced_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->ced_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->nom_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('nom_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->nom_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->ape1_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('ape1_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->ape1_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->ape2_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('ape2_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->ape2_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->fcna_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('fcna_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo Yii::app()->getDateFormatter()->formatDateTime($data->fcna_usu, 'medium', 'medium'); ?>
            <br/>
                 <?php echo date('D, d M y H:i:s', strtotime($data->fcna_usu)); ?>
                            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->gen_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('gen_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->gen_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->emai_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('emai_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo nl2br($data->emai_usu); ?>
                            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->estcv_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('estcv_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->estcv_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->login_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('login_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->login_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->pass_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('pass_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->pass_usu); ?>
            </div>
        </div>

        <?php endif; ?>
                
        <?php if (!empty($data->est_usu)): ?>
        <div class="field">
            <div class="field_name">
                <b><?php echo CHtml::encode($data->getAttributeLabel('est_usu')); ?>:</b>
            </div>
            <div class="field_value">
                <?php echo CHtml::encode($data->est_usu); ?>
            </div>
        </div>

        <?php endif; ?>
    </div>